// 线上环境数据
var ctx = "https://www.zretc.net/portal-web"; //数据接口
var htp = "https://resource.zretc.net"; //资源接口
var wsWeb = "wss://www.zretc.net/portal-web"; //websocket接口
var dockerEnv = 0; //docker 环境 0：单机 1：swarm 2：k8s
var dockerHost = "lab.zretc.net"; //docker vnc 访问地址
var kubernetesHost = "lab.zretc.net"; //k8s master 访问地址
var h3cHost = ""; //h3c node 访问地址
var dockerNoVNCHost = "http://lab.zretc.net:6080"; //docker vnc 访问地址
var dockerSwarmNoVNCHost = "http://lab.zretc.net:6082"; //dockerSwarm vnc 访问地址
var dockerUser = "zker"; //docker 默认用户
var gitAdmin = "admin@example.com"; //git管理员
var web = "https://www.zretc.net"; //前端域名地址
var bbbHost = "https://10.0.0.66"; //BBB域名地址
var nodeWs = "wss://www.zretc.net"; //前端websocket地址
var htpReg = new RegExp(htp, "g");
var api = ctx + "/api/v1";
var videoTypeSeq = [2, 1, 0]; //视频播放顺序 0:原始视频 1:m3u8
var jointLogin = true; // 登录框联合登录按钮
var openCenterAPI = "http://api.user.futurelab.sit.zretchome.com";
var jointLoginHost = "http://user.futurelab.tv/#"; //联合登录地址
var FUTURELAB = "https://www.futurelab.tv"; //睡前官网地址
var EVALUATION_FUTURELAB = "http://evaluation.futurelab.tv"; //测评地址
var RECRUIT = "http://hire.futurelab.tv"; // 双选会地址
var RACE = "http://race.kp.futurelab.tv"; //竞赛地址
var PLATFORM_CODE = "ZHJXY"; //平台编码
var AUTH_FEDERATION = "https://auth.huaweicloud.com/authui/federation/websso?domain_id=07b20482d680251d0f7ec0177b9ba540&idp=portal-saml-prod&protocol=saml"; //联邦用户单点登录地址
var examInvigilateStatus = false;
var demoVideoUploadUrl = "https://lab.zretc.net";
var basicCookieLogin = false; // 基于cookie的同用户中心统一登录和退出启用标识。true启动，false关闭
var AttachNavs = [{
        navEnable: true,
        navId: 9800,
        navIndex: "9800",
        navName: "人才测评",
        visiable: false,
        children: [{
                navName: "测评专题",
                tag: "FUTURELAB",
                url: EVALUATION_FUTURELAB + "/#/"
            }, {
                navName: "岗位认证",
                tag: "FUTURELAB",
                url: EVALUATION_FUTURELAB + "/#/NCWD"
            }]
    }, {
        navEnable: true,
        navId: 9700,
        navIndex: "9700",
        navName: "专业竞赛",
        tag: "FUTURELAB",
        url: RACE + "/#/"
    }, {
        navEnable: true,
        navId: 9900,
        navIndex: "9900",
        navName: "双选会",
        visiable: false,
        children: [{
                navName: "热门信息",
                tag: "RECRUIT",
                url: RECRUIT + "/mutual-portal/"
            }, {
                navName: "企业",
                tag: "RECRUIT",
                url: RECRUIT + "/mutual-portal/company"
            }, {
                navName: "岗位",
                tag: "RECRUIT",
                url: RECRUIT + "/mutual-portal/post"
            }]
    }];
var footerTemplate = "<div class=\"footer\">"
    + "<img @click=\"thirdParty('zhaike')\" class=\"hover_pointer\" src=\"/webApp/images/zker.png\">"
    + "<img @click=\"thirdParty('shuiqian')\" class=\"hover_pointer\" src=\"/webApp/images/uc_shuiqian.7662b04.png\">"
    + "<img @click=\"thirdParty('zhuoyue')\" class=\"hover_pointer\" src=\"/webApp/images/etc.png\">"
    + "</div>"
    + "<div class=\"copyright\">"
    + "<span>Copyright© 2019 <a href=\"https://beian.miit.gov.cn/#/Integrated/index\" target=\"_blank\">京ICP备14058756号-6</a></span>"
    + "<span>北京中软国际教育科技股份有限公司 版权所有 保留一切权利</span>"
+   "<div><a target=\"_blank\" href=\"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=11010802035985\" style=\"display:inline-block;text-decoration:none;height:20px;line-height:20px;\"><img src=\"/webApp/images/logo/11010802035985.png\" style=\"float:left;\"/><p style=\"float:left;height:20px;line-height:20px;margin: 0px 0px 0px 5px;\">京公网安备 11010802035985号</p></a></div>"
    + "</div>";
